package com.ruoyi.liangshi.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ruoyi.liangshi.domain.BiBsKscHour;
import com.ruoyi.liangshi.mapper.BiBsKscHourMapper;
import com.ruoyi.liangshi.service.IBiBsKscHourService;
import com.ruoyi.liangshi.vo.query.BiBsKscHourAvgTimeChartData;
import com.ruoyi.liangshi.vo.query.BiBsKscHourChartData;
import com.ruoyi.liangshi.vo.query.BiBsKscHourDataVo;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author LiuJin
 * @Date: Create in 2023-11-22 10:16
 * @Description: this class is
 */
@Service
public class BiBsKscHourServiceImpl extends ServiceImpl<BiBsKscHourMapper, BiBsKscHour> implements IBiBsKscHourService {
    @Override
    public List<BiBsKscHourChartData> getBsKscHourChartDataList(Long shopId,String date) {
        return getBaseMapper().getBsKscHourChartDataList(shopId,date);
    }

    @Override
    public List<BiBsKscHourAvgTimeChartData> getBsKscHourAvgTimeChartDataList(Long shopId,String date) {
        return getBaseMapper().getBsKscHourAvgTimeChartDataList(shopId,date);
    }

    @Override
    public List<BiBsKscHourDataVo> getBiBsKscHourDataList( Long shopId,String date) {
        return getBaseMapper().getBiBsKscHourDataList(shopId,date);
    }
}
